package org.canx.dao;

import org.canx.model.GToken;

import java.util.Map;

public interface GTokenMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GToken record);

    int insertSelective(GToken record);

    GToken selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GToken record);

    int updateByPrimaryKey(GToken record);

    int updateExpiredTime(Map<String, Object> map);

    GToken findByToken(String token);
}